package com.xiay.action;

/**
 * Created by H-209-FX-XY on 2018/2/2.
 */
public class HelloWorldAction {
    private String name;

    public String execute() {
        if (getName().equals("") || getName() == null){
            return "error";
        }
        return "success";
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
